<div class="page-body">
    <div class="row">
        <div class="widget">
            <div class="widget-body">
                <div id="horizontal-form">
                    <form class="form-horizontal" role="form"
                          action="{:U('doEdit',array('type_id'=>I('get.type_id')))}"
                          method="post" enctype="multipart/form-data">
                        <div class="form-group">
                            <label for="name" class="col-sm-3 control-label no-padding-right">名称：</label>
                            <div class="col-sm-3">
                                <input type="text" class="form-control" id="name" name="name" value="{$data.name}" required>
                            </div>
                        </div>
                        <div class="form-group   ">
                            <label class="col-sm-3 control-label no-padding-right">有效月份：</label>
                            <div class="col-sm-3">
                                <input type="number" class="form-control" name="month" value="{$data.month}" />
                            </div>
                        </div>
                        <div class="form-group   ">
                            <label class="col-sm-3 control-label no-padding-right">{:C('rent_freenum_name')}：</label>
                            <div class="col-sm-3">
                                <input type="number" name="num_delivery" class="form-control" value="{$data.num_delivery}" required>
                            </div>
                        </div>
                        <div class="form-group   ">
                            <label class="col-sm-3 control-label no-padding-right">{:C('act_freenum_name')}：</label>
                            <div class="col-sm-3">
                                <input type="number" name="num_activity" class="form-control" value="{$data.num_activity}">
                            </div>
                        </div>
                        <div class="form-group   ">
                            <label class="col-sm-3 control-label no-padding-right">活动报名费折扣：</label>
                            <div class="col-sm-3">
                                <input type="text" name="discount_apply" class="form-control" value="{$data.discount_apply}">
                            </div>
                        </div>
                        <div class="form-group   ">
                            <label class="col-sm-3 control-label no-padding-right">购书折扣：</label>
                            <div class="col-sm-3">
                                <input type="tel" name="discount_buy" class="form-control" value="{$data.discount_buy}" required>
                            </div>
                        </div>
                        <div class="form-group   ">
                            <label class="col-sm-3 control-label no-padding-right">面值：</label>
                            <div class="col-sm-3">
                                <input type="text" name="price" class="form-control" value="{$data.price}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label no-padding-right"></label>
                            <div class="col-sm-3">
                                <label>
                                    <input type="checkbox" class="colored-danger" name="wx_show" <eq name="data.wx_show" value="1">checked=checked</eq> >
                                    <span class="text">微信显示</span>
                                </label>
                            </div>
                        </div>
                        <div class="form-group  ">
                            <div class="col-sm-offset-3 col-sm-10">
                                <button type="submit" class="btn btn-primary">提 交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<script>

</script>